import Ax from '../api';

export default {
  projectAdd: (param = {}) => Ax.put(`/projectConfig/add`, param),
  projectEdit: (param = {}) => Ax.put(`/projectConfig/edit`, param),
  projectDelete: (query = {}) => Ax.delete(`/projectConfig/delete?_id=${query._id}`),
  projectList: (param = {}) => Ax.post(`/projectConfig/list`, param),
  projectAll: () => Ax.get(`/projectConfig/all`),
  projectAssetList: (query) => Ax.get(`/projectConfig/asset/list?projectId=${query.projectId}`),
  projectFileUpdate: (param) => Ax.post(`/projectConfig/file/update`, param),
};
